package com.qqtech.qquan.user.model;

import java.math.BigDecimal;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import com.qqtech.core.frame.model.BaseDomain;

@SuppressWarnings("serial")
public class UserAddress extends BaseDomain{

	//columns START
    /** 创建人id */
	private java.lang.Integer creatorId;
    /** 收货地址省Id */
	private java.lang.Integer provinceId;
    /** 收货地址省名称 */
	private java.lang.String provinceName;
    /** 收货地址城市Id */
	private java.lang.Integer cityId;
    /** 收货地址城市名称 */
	private java.lang.String cityName;
    /** 收货地址区、镇Id */
	private java.lang.Integer regionId;
    /** 收货地址区、镇名称 */
	private java.lang.String regionName;
    /** 已改为：桃源居13区10栋2单元 */
	private java.lang.String nextAddr;
    /** 经度 */
	private BigDecimal x;
    /** 纬度 */
	private BigDecimal y;
    /** 收货人电话 */
	private java.lang.String contactPhone;
    /** 收货人姓名 */
	private java.lang.String contactName;
    /** 状态:1-正常;2-删除 */
	private Integer status;
    /** 是否默认地址:;1-是;2-否 */
	private Integer isDefault;
	/** 门牌号 */
	private java.lang.String houseNumber;
	/** 社区id */
	private Integer communityId;
	//columns END
	public UserAddress(){
	}

	public UserAddress( java.lang.Integer id ){
		this.id = id;
	}

	public void setCreatorId(java.lang.Integer creatorId) {
		this.creatorId = creatorId;
	}

	public java.lang.Integer getCreatorId() {
		return this.creatorId;
	}
	
	public void setProvinceId(java.lang.Integer provinceId) {
		this.provinceId = provinceId;
	}

	public java.lang.Integer getProvinceId() {
		return this.provinceId;
	}
	
	public void setProvinceName(java.lang.String provinceName) {
		this.provinceName = provinceName;
	}

	public java.lang.String getProvinceName() {
		return this.provinceName;
	}
	
	public void setCityId(java.lang.Integer cityId) {
		this.cityId = cityId;
	}

	public java.lang.Integer getCityId() {
		return this.cityId;
	}
	
	public void setCityName(java.lang.String cityName) {
		this.cityName = cityName;
	}

	public java.lang.String getCityName() {
		return this.cityName;
	}
	
	public void setRegionId(java.lang.Integer regionId) {
		this.regionId = regionId;
	}

	public java.lang.Integer getRegionId() {
		return this.regionId;
	}
	
	public void setRegionName(java.lang.String regionName) {
		this.regionName = regionName;
	}

	public java.lang.String getRegionName() {
		return this.regionName;
	}
	
	public void setNextAddr(java.lang.String nextAddr) {
		this.nextAddr = nextAddr;
	}

	public java.lang.String getNextAddr() {
		return this.nextAddr;
	}
	
	public void setX(BigDecimal x) {
		this.x = x;
	}

	public BigDecimal getX() {
		return this.x;
	}
	
	public void setY(BigDecimal y) {
		this.y = y;
	}

	public BigDecimal getY() {
		return this.y;
	}
	
	public void setContactPhone(java.lang.String contactPhone) {
		this.contactPhone = contactPhone;
	}

	public java.lang.String getContactPhone() {
		return this.contactPhone;
	}
	
	public void setContactName(java.lang.String contactName) {
		this.contactName = contactName;
	}

	public java.lang.String getContactName() {
		return this.contactName;
	}
	
	public void setStatus(Integer status) {
		this.status = status;
	}

	public Integer getStatus() {
		return this.status;
	}
	
	public void setIsDefault(Integer isDefault) {
		this.isDefault = isDefault;
	}

	public Integer getIsDefault() {
		return this.isDefault;
	}
	
	public java.lang.String getHouseNumber() {
		return houseNumber;
	}

	public void setHouseNumber(java.lang.String houseNumber) {
		this.houseNumber = houseNumber;
	}

	public Integer getCommunityId() {
		return communityId;
	}

	public void setCommunityId(Integer communityId) {
		this.communityId = communityId;
	}

	@Override
	public String toString() {
		return ToStringBuilder.reflectionToString(this,
				ToStringStyle.MULTI_LINE_STYLE);
	}
}

